.class public Lcom/waiqin365/lightapp/view/WqWheelView;
.super Landroid/view/View;


# static fields
.field private static c:[I


# instance fields
.field private A:I

.field private B:Landroid/graphics/drawable/GradientDrawable;

.field private C:Landroid/graphics/drawable/GradientDrawable;

.field private D:I

.field private E:I

.field private F:I

.field private G:[I

.field private H:[I

.field private I:I

.field private J:I

.field private K:I

.field private L:I

.field private M:I

.field private N:I

.field private O:I

.field private P:I

.field private Q:I

.field private R:Z

.field private S:Z

.field private T:Z

.field private U:Landroid/view/GestureDetector$SimpleOnGestureListener;

.field private final V:I

.field private final W:I

.field private Z:Landroid/os/Handler;

.field a:Z

.field private b:Landroid/content/Context;

.field private d:Lcom/waiqin365/lightapp/a/c;

.field private e:I

.field private f:I

.field private g:I

.field private h:I

.field private i:I

.field private j:Landroid/text/TextPaint;

.field private k:Landroid/text/TextPaint;

.field private l:Landroid/text/TextPaint;

.field private m:Landroid/text/StaticLayout;

.field private n:Landroid/text/StaticLayout;

.field private o:Landroid/text/StaticLayout;

.field private p:Ljava/lang/String;

.field private q:Z

.field private r:I

.field private s:Landroid/view/GestureDetector;

.field private t:Landroid/widget/Scroller;

.field private u:I

.field private v:Ljava/util/List;

.field private w:Ljava/util/List;

.field private x:Landroid/graphics/drawable/Drawable;

.field private y:[I

.field private z:I


# direct methods
.method static constructor <clinit>()V
    .locals 1

    const/4 v0, 0x3

    new-array v0, v0, [I

    fill-array-data v0, :array_0

    sput-object v0, Lcom/waiqin365/lightapp/view/WqWheelView;->c:[I

    return-void

    nop

    :array_0
    .array-data 4
        -0xeeeeef
        0xaaaaaa
        0xaaaaaa
    .end array-data
.end method

.method public constructor <init>(Landroid/content/Context;)V
    .locals 6

    const/high16 v5, -0x10000000

    const/16 v4, 0x23

    const/4 v1, 0x3

    const/4 v3, 0x1

    const/4 v2, 0x0

    invoke-direct {p0, p1}, Landroid/view/View;-><init>(Landroid/content/Context;)V

    const/4 v0, 0x0

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->b:Landroid/content/Context;

    const/4 v0, 0x0

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->d:Lcom/waiqin365/lightapp/a/c;

    iput v2, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->e:I

    iput v2, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->f:I

    iput v2, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->g:I

    const/4 v0, 0x5

    iput v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->h:I

    iput v2, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->i:I

    iput-boolean v2, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->a:Z

    new-instance v0, Ljava/util/LinkedList;

    invoke-direct {v0}, Ljava/util/LinkedList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->v:Ljava/util/List;

    new-instance v0, Ljava/util/LinkedList;

    invoke-direct {v0}, Ljava/util/LinkedList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->w:Ljava/util/List;

    new-array v0, v1, [I

    fill-array-data v0, :array_0

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->y:[I

    iput v3, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->z:I

    const v0, 0x70333333

    iput v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->A:I

    const/high16 v0, -0x1000000

    iput v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->D:I

    iput v5, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->E:I

    iput v5, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->F:I

    new-array v0, v1, [I

    fill-array-data v0, :array_1

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->G:[I

    new-array v0, v1, [I

    fill-array-data v0, :array_2

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->H:[I

    iput v3, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->I:I

    const v0, -0xcccccd

    iput v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->J:I

    iput v4, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->K:I

    iput v4, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->L:I

    iput v4, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->M:I

    iget v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->K:I

    div-int/lit8 v0, v0, 0x5

    iput v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->N:I

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/WqWheelView;->getContext()Landroid/content/Context;

    move-result-object v0

    const/high16 v1, 0x41200000    # 10.0f

    invoke-static {v0, v1}, Lcom/waiqin365/lightapp/view/WqWheelView;->a(Landroid/content/Context;F)I

    move-result v0

    iput v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->O:I

    iput v2, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->P:I

    iput v2, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->Q:I

    iput-boolean v3, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->R:Z

    iput-boolean v3, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->S:Z

    iput-boolean v3, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->T:Z

    new-instance v0, Lcom/waiqin365/lightapp/view/hn;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/view/hn;-><init>(Lcom/waiqin365/lightapp/view/WqWheelView;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->U:Landroid/view/GestureDetector$SimpleOnGestureListener;

    iput v2, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->V:I

    iput v3, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->W:I

    new-instance v0, Lcom/waiqin365/lightapp/view/ho;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/view/ho;-><init>(Lcom/waiqin365/lightapp/view/WqWheelView;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->Z:Landroid/os/Handler;

    invoke-direct {p0, p1}, Lcom/waiqin365/lightapp/view/WqWheelView;->a(Landroid/content/Context;)V

    return-void

    :array_0
    .array-data 4
        0x70222222
        0x70222222
        0x70eeeeee
    .end array-data

    :array_1
    .array-data 4
        0x333
        0xddd
        0x333
    .end array-data

    :array_2
    .array-data 4
        0xaaa
        0xfff
        0xaaa
    .end array-data
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
    .locals 6

    const/high16 v5, -0x10000000

    const/16 v4, 0x23

    const/4 v1, 0x3

    const/4 v3, 0x1

    const/4 v2, 0x0

    invoke-direct {p0, p1, p2}, Landroid/view/View;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    const/4 v0, 0x0

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->b:Landroid/content/Context;

    const/4 v0, 0x0

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->d:Lcom/waiqin365/lightapp/a/c;

    iput v2, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->e:I

    iput v2, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->f:I

    iput v2, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->g:I

    const/4 v0, 0x5

    iput v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->h:I

    iput v2, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->i:I

    iput-boolean v2, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->a:Z

    new-instance v0, Ljava/util/LinkedList;

    invoke-direct {v0}, Ljava/util/LinkedList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->v:Ljava/util/List;

    new-instance v0, Ljava/util/LinkedList;

    invoke-direct {v0}, Ljava/util/LinkedList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->w:Ljava/util/List;

    new-array v0, v1, [I

    fill-array-data v0, :array_0

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->y:[I

    iput v3, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->z:I

    const v0, 0x70333333

    iput v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->A:I

    const/high16 v0, -0x1000000

    iput v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->D:I

    iput v5, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->E:I

    iput v5, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->F:I

    new-array v0, v1, [I

    fill-array-data v0, :array_1

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->G:[I

    new-array v0, v1, [I

    fill-array-data v0, :array_2

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->H:[I

    iput v3, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->I:I

    const v0, -0xcccccd

    iput v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->J:I

    iput v4, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->K:I

    iput v4, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->L:I

    iput v4, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->M:I

    iget v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->K:I

    div-int/lit8 v0, v0, 0x5

    iput v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->N:I

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/WqWheelView;->getContext()Landroid/content/Context;

    move-result-object v0

    const/high16 v1, 0x41200000    # 10.0f

    invoke-static {v0, v1}, Lcom/waiqin365/lightapp/view/WqWheelView;->a(Landroid/content/Context;F)I

    move-result v0

    iput v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->O:I

    iput v2, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->P:I

    iput v2, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->Q:I

    iput-boolean v3, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->R:Z

    iput-boolean v3, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->S:Z

    iput-boolean v3, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->T:Z

    new-instance v0, Lcom/waiqin365/lightapp/view/hn;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/view/hn;-><init>(Lcom/waiqin365/lightapp/view/WqWheelView;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->U:Landroid/view/GestureDetector$SimpleOnGestureListener;

    iput v2, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->V:I

    iput v3, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->W:I

    new-instance v0, Lcom/waiqin365/lightapp/view/ho;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/view/ho;-><init>(Lcom/waiqin365/lightapp/view/WqWheelView;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->Z:Landroid/os/Handler;

    invoke-direct {p0, p1}, Lcom/waiqin365/lightapp/view/WqWheelView;->a(Landroid/content/Context;)V

    return-void

    :array_0
    .array-data 4
        0x70222222
        0x70222222
        0x70eeeeee
    .end array-data

    :array_1
    .array-data 4
        0x333
        0xddd
        0x333
    .end array-data

    :array_2
    .array-data 4
        0xaaa
        0xfff
        0xaaa
    .end array-data
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
    .locals 6

    const/high16 v5, -0x10000000

    const/16 v4, 0x23

    const/4 v1, 0x3

    const/4 v3, 0x1

    const/4 v2, 0x0

    invoke-direct {p0, p1, p2, p3}, Landroid/view/View;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V

    const/4 v0, 0x0

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->b:Landroid/content/Context;

    const/4 v0, 0x0

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->d:Lcom/waiqin365/lightapp/a/c;

    iput v2, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->e:I

    iput v2, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->f:I

    iput v2, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->g:I

    const/4 v0, 0x5

    iput v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->h:I

    iput v2, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->i:I

    iput-boolean v2, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->a:Z

    new-instance v0, Ljava/util/LinkedList;

    invoke-direct {v0}, Ljava/util/LinkedList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->v:Ljava/util/List;

    new-instance v0, Ljava/util/LinkedList;

    invoke-direct {v0}, Ljava/util/LinkedList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->w:Ljava/util/List;

    new-array v0, v1, [I

    fill-array-data v0, :array_0

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->y:[I

    iput v3, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->z:I

    const v0, 0x70333333

    iput v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->A:I

    const/high16 v0, -0x1000000

    iput v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->D:I

    iput v5, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->E:I

    iput v5, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->F:I

    new-array v0, v1, [I

    fill-array-data v0, :array_1

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->G:[I

    new-array v0, v1, [I

    fill-array-data v0, :array_2

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->H:[I

    iput v3, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->I:I

    const v0, -0xcccccd

    iput v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->J:I

    iput v4, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->K:I

    iput v4, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->L:I

    iput v4, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->M:I

    iget v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->K:I

    div-int/lit8 v0, v0, 0x5

    iput v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->N:I

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/WqWheelView;->getContext()Landroid/content/Context;

    move-result-object v0

    const/high16 v1, 0x41200000    # 10.0f

    invoke-static {v0, v1}, Lcom/waiqin365/lightapp/view/WqWheelView;->a(Landroid/content/Context;F)I

    move-result v0

    iput v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->O:I

    iput v2, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->P:I

    iput v2, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->Q:I

    iput-boolean v3, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->R:Z

    iput-boolean v3, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->S:Z

    iput-boolean v3, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->T:Z

    new-instance v0, Lcom/waiqin365/lightapp/view/hn;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/view/hn;-><init>(Lcom/waiqin365/lightapp/view/WqWheelView;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->U:Landroid/view/GestureDetector$SimpleOnGestureListener;

    iput v2, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->V:I

    iput v3, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->W:I

    new-instance v0, Lcom/waiqin365/lightapp/view/ho;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/view/ho;-><init>(Lcom/waiqin365/lightapp/view/WqWheelView;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->Z:Landroid/os/Handler;

    invoke-direct {p0, p1}, Lcom/waiqin365/lightapp/view/WqWheelView;->a(Landroid/content/Context;)V

    return-void

    :array_0
    .array-data 4
        0x70222222
        0x70222222
        0x70eeeeee
    .end array-data

    :array_1
    .array-data 4
        0x333
        0xddd
        0x333
    .end array-data

    :array_2
    .array-data 4
        0xaaa
        0xfff
        0xaaa
    .end array-data
.end method

.method public static a(Landroid/content/Context;F)I
    .locals 2

    invoke-virtual {p0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    invoke-virtual {v0}, Landroid/content/res/Resources;->getDisplayMetrics()Landroid/util/DisplayMetrics;

    move-result-object v0

    iget v0, v0, Landroid/util/DisplayMetrics;->density:F

    mul-float/2addr v0, p1

    const/high16 v1, 0x3f000000    # 0.5f

    add-float/2addr v0, v1

    float-to-int v0, v0

    return v0
.end method

.method private a(Landroid/text/Layout;)I
    .locals 2

    if-nez p1, :cond_0

    const/4 v0, 0x0

    :goto_0
    return v0

    :cond_0
    invoke-direct {p0}, Lcom/waiqin365/lightapp/view/WqWheelView;->j()I

    move-result v0

    iget v1, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->h:I

    mul-int/2addr v0, v1

    iget v1, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->N:I

    mul-int/lit8 v1, v1, 0x2

    sub-int/2addr v0, v1

    iget v1, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->O:I

    sub-int/2addr v0, v1

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/WqWheelView;->getSuggestedMinimumHeight()I

    move-result v1

    invoke-static {v0, v1}, Ljava/lang/Math;->max(II)I

    move-result v0

    goto :goto_0
.end method

.method private a(I)Ljava/lang/String;
    .locals 3

    const/4 v0, 0x0

    iget-object v1, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->d:Lcom/waiqin365/lightapp/a/c;

    if-eqz v1, :cond_0

    iget-object v1, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->d:Lcom/waiqin365/lightapp/a/c;

    invoke-interface {v1}, Lcom/waiqin365/lightapp/a/c;->a()I

    move-result v1

    if-nez v1, :cond_1

    :cond_0
    :goto_0
    return-object v0

    :cond_1
    iget-object v1, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->d:Lcom/waiqin365/lightapp/a/c;

    invoke-interface {v1}, Lcom/waiqin365/lightapp/a/c;->a()I

    move-result v1

    if-ltz p1, :cond_2

    if-lt p1, v1, :cond_3

    :cond_2
    iget-boolean v2, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->a:Z

    if-eqz v2, :cond_0

    :cond_3
    :goto_1
    if-gez p1, :cond_4

    add-int/2addr p1, v1

    goto :goto_1

    :cond_4
    rem-int v0, p1, v1

    iget-object v1, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->d:Lcom/waiqin365/lightapp/a/c;

    invoke-interface {v1, v0}, Lcom/waiqin365/lightapp/a/c;->a(I)Ljava/lang/String;

    move-result-object v0

    goto :goto_0
.end method

.method private a(Landroid/content/Context;)V
    .locals 2

    iput-object p1, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->b:Landroid/content/Context;

    new-instance v0, Landroid/view/GestureDetector;

    iget-object v1, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->U:Landroid/view/GestureDetector$SimpleOnGestureListener;

    invoke-direct {v0, p1, v1}, Landroid/view/GestureDetector;-><init>(Landroid/content/Context;Landroid/view/GestureDetector$OnGestureListener;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->s:Landroid/view/GestureDetector;

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->s:Landroid/view/GestureDetector;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/view/GestureDetector;->setIsLongpressEnabled(Z)V

    new-instance v0, Landroid/widget/Scroller;

    invoke-direct {v0, p1}, Landroid/widget/Scroller;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->t:Landroid/widget/Scroller;

    new-instance v0, Landroid/util/DisplayMetrics;

    invoke-direct {v0}, Landroid/util/DisplayMetrics;-><init>()V

    check-cast p1, Landroid/app/Activity;

    invoke-virtual {p1}, Landroid/app/Activity;->getWindowManager()Landroid/view/WindowManager;

    move-result-object v1

    invoke-interface {v1}, Landroid/view/WindowManager;->getDefaultDisplay()Landroid/view/Display;

    move-result-object v1

    invoke-virtual {v1, v0}, Landroid/view/Display;->getMetrics(Landroid/util/DisplayMetrics;)V

    iget v1, v0, Landroid/util/DisplayMetrics;->widthPixels:I

    iput v1, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->P:I

    iget v0, v0, Landroid/util/DisplayMetrics;->heightPixels:I

    iput v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->Q:I

    return-void
.end method

.method private a(Landroid/graphics/Canvas;)V
    .locals 5

    const/4 v4, 0x0

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->R:Z

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->B:Landroid/graphics/drawable/GradientDrawable;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/WqWheelView;->getWidth()I

    move-result v1

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/WqWheelView;->getHeight()I

    move-result v2

    iget v3, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->h:I

    div-int/2addr v2, v3

    invoke-virtual {v0, v4, v4, v1, v2}, Landroid/graphics/drawable/GradientDrawable;->setBounds(IIII)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->B:Landroid/graphics/drawable/GradientDrawable;

    invoke-virtual {v0, p1}, Landroid/graphics/drawable/GradientDrawable;->draw(Landroid/graphics/Canvas;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->C:Landroid/graphics/drawable/GradientDrawable;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/WqWheelView;->getHeight()I

    move-result v1

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/WqWheelView;->getHeight()I

    move-result v2

    iget v3, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->h:I

    div-int/2addr v2, v3

    sub-int/2addr v1, v2

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/WqWheelView;->getWidth()I

    move-result v2

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/WqWheelView;->getHeight()I

    move-result v3

    invoke-virtual {v0, v4, v1, v2, v3}, Landroid/graphics/drawable/GradientDrawable;->setBounds(IIII)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->C:Landroid/graphics/drawable/GradientDrawable;

    invoke-virtual {v0, p1}, Landroid/graphics/drawable/GradientDrawable;->draw(Landroid/graphics/Canvas;)V

    :cond_0
    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/view/WqWheelView;I)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/waiqin365/lightapp/view/WqWheelView;->b(I)V

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/view/WqWheelView;)Z
    .locals 1

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->q:Z

    return v0
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/view/WqWheelView;I)I
    .locals 0

    iput p1, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->u:I

    return p1
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/view/WqWheelView;)Landroid/widget/Scroller;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->t:Landroid/widget/Scroller;

    return-object v0
.end method

.method private b(I)V
    .locals 5

    const/4 v1, 0x0

    iget v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->r:I

    add-int/2addr v0, p1

    iput v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->r:I

    iget v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->r:I

    invoke-direct {p0}, Lcom/waiqin365/lightapp/view/WqWheelView;->j()I

    move-result v2

    div-int v2, v0, v2

    iget v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->e:I

    sub-int/2addr v0, v2

    iget-boolean v3, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->a:Z

    if-eqz v3, :cond_3

    iget-object v3, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->d:Lcom/waiqin365/lightapp/a/c;

    invoke-interface {v3}, Lcom/waiqin365/lightapp/a/c;->a()I

    move-result v3

    if-lez v3, :cond_3

    :goto_0
    if-gez v0, :cond_0

    iget-object v3, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->d:Lcom/waiqin365/lightapp/a/c;

    invoke-interface {v3}, Lcom/waiqin365/lightapp/a/c;->a()I

    move-result v3

    add-int/2addr v0, v3

    goto :goto_0

    :cond_0
    iget-object v3, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->d:Lcom/waiqin365/lightapp/a/c;

    invoke-interface {v3}, Lcom/waiqin365/lightapp/a/c;->a()I

    move-result v3

    rem-int/2addr v0, v3

    :cond_1
    :goto_1
    iget v3, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->r:I

    iget v4, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->e:I

    if-eq v0, v4, :cond_6

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/lightapp/view/WqWheelView;->setCurrentItem(IZ)V

    :goto_2
    invoke-direct {p0}, Lcom/waiqin365/lightapp/view/WqWheelView;->j()I

    move-result v0

    mul-int/2addr v0, v2

    sub-int v0, v3, v0

    iput v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->r:I

    iget v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->r:I

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/WqWheelView;->getHeight()I

    move-result v1

    if-le v0, v1, :cond_2

    iget v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->r:I

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/WqWheelView;->getHeight()I

    move-result v1

    rem-int/2addr v0, v1

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/WqWheelView;->getHeight()I

    move-result v1

    add-int/2addr v0, v1

    iput v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->r:I

    :cond_2
    return-void

    :cond_3
    iget-boolean v3, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->q:Z

    if-eqz v3, :cond_5

    if-gez v0, :cond_4

    iget v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->e:I

    move v2, v0

    move v0, v1

    goto :goto_1

    :cond_4
    iget-object v3, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->d:Lcom/waiqin365/lightapp/a/c;

    invoke-interface {v3}, Lcom/waiqin365/lightapp/a/c;->a()I

    move-result v3

    if-lt v0, v3, :cond_1

    iget v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->e:I

    iget-object v2, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->d:Lcom/waiqin365/lightapp/a/c;

    invoke-interface {v2}, Lcom/waiqin365/lightapp/a/c;->a()I

    move-result v2

    sub-int/2addr v0, v2

    add-int/lit8 v2, v0, 0x1

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->d:Lcom/waiqin365/lightapp/a/c;

    invoke-interface {v0}, Lcom/waiqin365/lightapp/a/c;->a()I

    move-result v0

    add-int/lit8 v0, v0, -0x1

    goto :goto_1

    :cond_5
    invoke-static {v0, v1}, Ljava/lang/Math;->max(II)I

    move-result v0

    iget-object v3, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->d:Lcom/waiqin365/lightapp/a/c;

    invoke-interface {v3}, Lcom/waiqin365/lightapp/a/c;->a()I

    move-result v3

    add-int/lit8 v3, v3, -0x1

    invoke-static {v0, v3}, Ljava/lang/Math;->min(II)I

    move-result v0

    goto :goto_1

    :cond_6
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/WqWheelView;->invalidate()V

    goto :goto_2
.end method

.method private b(Landroid/graphics/Canvas;)V
    .locals 3

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->k:Landroid/text/TextPaint;

    iget v1, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->E:I

    invoke-virtual {v0, v1}, Landroid/text/TextPaint;->setColor(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->k:Landroid/text/TextPaint;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/WqWheelView;->getDrawableState()[I

    move-result-object v1

    iput-object v1, v0, Landroid/text/TextPaint;->drawableState:[I

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->l:Landroid/text/TextPaint;

    iget v1, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->F:I

    invoke-virtual {v0, v1}, Landroid/text/TextPaint;->setColor(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->l:Landroid/text/TextPaint;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/WqWheelView;->getDrawableState()[I

    move-result-object v1

    iput-object v1, v0, Landroid/text/TextPaint;->drawableState:[I

    new-instance v0, Landroid/graphics/Rect;

    invoke-direct {v0}, Landroid/graphics/Rect;-><init>()V

    iget-object v1, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->m:Landroid/text/StaticLayout;

    iget v2, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->h:I

    div-int/lit8 v2, v2, 0x2

    invoke-virtual {v1, v2, v0}, Landroid/text/StaticLayout;->getLineBounds(ILandroid/graphics/Rect;)I

    iget-object v1, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->n:Landroid/text/StaticLayout;

    if-eqz v1, :cond_0

    invoke-virtual {p1}, Landroid/graphics/Canvas;->save()I

    iget-object v1, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->m:Landroid/text/StaticLayout;

    invoke-virtual {v1}, Landroid/text/StaticLayout;->getWidth()I

    move-result v1

    add-int/lit8 v1, v1, 0x8

    int-to-float v1, v1

    iget v2, v0, Landroid/graphics/Rect;->top:I

    int-to-float v2, v2

    invoke-virtual {p1, v1, v2}, Landroid/graphics/Canvas;->translate(FF)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->n:Landroid/text/StaticLayout;

    invoke-virtual {v1, p1}, Landroid/text/StaticLayout;->draw(Landroid/graphics/Canvas;)V

    invoke-virtual {p1}, Landroid/graphics/Canvas;->restore()V

    :cond_0
    iget-object v1, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->o:Landroid/text/StaticLayout;

    if-eqz v1, :cond_1

    invoke-virtual {p1}, Landroid/graphics/Canvas;->save()I

    const/4 v1, 0x0

    iget v0, v0, Landroid/graphics/Rect;->top:I

    iget v2, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->r:I

    add-int/2addr v0, v2

    int-to-float v0, v0

    invoke-virtual {p1, v1, v0}, Landroid/graphics/Canvas;->translate(FF)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->o:Landroid/text/StaticLayout;

    invoke-virtual {v0, p1}, Landroid/text/StaticLayout;->draw(Landroid/graphics/Canvas;)V

    invoke-virtual {p1}, Landroid/graphics/Canvas;->restore()V

    :cond_1
    return-void
.end method

.method private c(II)I
    .locals 6

    const/4 v2, 0x1

    const/4 v1, 0x0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/view/WqWheelView;->g()V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/view/WqWheelView;->h()I

    move-result v3

    if-lez v3, :cond_4

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->l:Landroid/text/TextPaint;

    const-string/jumbo v4, "0"

    invoke-virtual {v0, v4}, Landroid/text/TextPaint;->measureText(Ljava/lang/String;)F

    move-result v0

    float-to-int v0, v0

    int-to-float v4, v0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/view/WqWheelView;->i()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v0

    if-lez v0, :cond_a

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->l:Landroid/text/TextPaint;

    invoke-direct {p0}, Lcom/waiqin365/lightapp/view/WqWheelView;->i()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v5}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v0, v5}, Landroid/text/TextPaint;->measureText(Ljava/lang/String;)F

    move-result v0

    float-to-int v0, v0

    :goto_0
    int-to-float v3, v3

    mul-float/2addr v3, v4

    float-to-int v3, v3

    add-int/2addr v0, v3

    iput v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->f:I

    :goto_1
    iget v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->f:I

    add-int/lit8 v0, v0, 0x8

    iput v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->f:I

    iput v1, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->g:I

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->p:Ljava/lang/String;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->p:Ljava/lang/String;

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v0

    if-lez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->l:Landroid/text/TextPaint;

    iget-object v3, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->p:Ljava/lang/String;

    invoke-virtual {v0, v3}, Landroid/text/TextPaint;->measureText(Ljava/lang/String;)F

    move-result v0

    float-to-int v0, v0

    iput v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->g:I

    :cond_0
    const/high16 v0, 0x40000000    # 2.0f

    if-ne p2, v0, :cond_5

    move v0, v2

    :goto_2
    if-eqz v0, :cond_2

    add-int/lit8 v0, p1, -0x8

    add-int/lit8 v0, v0, -0xa

    if-gtz v0, :cond_1

    iput v1, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->g:I

    iput v1, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->f:I

    :cond_1
    iget v1, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->g:I

    if-lez v1, :cond_8

    div-int/lit8 v1, v0, 0x2

    iget v2, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->f:I

    sub-int/2addr v0, v2

    iget v2, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->f:I

    if-ge v1, v2, :cond_7

    add-int/2addr v0, v1

    iget v1, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->g:I

    sub-int/2addr v0, v1

    iput v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->f:I

    :cond_2
    :goto_3
    iget v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->f:I

    if-lez v0, :cond_3

    iget v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->f:I

    iget v1, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->g:I

    invoke-direct {p0, v0, v1}, Lcom/waiqin365/lightapp/view/WqWheelView;->d(II)V

    :cond_3
    return p1

    :cond_4
    iput v1, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->f:I

    goto :goto_1

    :cond_5
    iget v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->f:I

    iget v3, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->g:I

    add-int/2addr v0, v3

    add-int/lit8 v0, v0, 0xa

    iget v3, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->g:I

    if-lez v3, :cond_6

    add-int/lit8 v0, v0, 0x8

    :cond_6
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/WqWheelView;->getSuggestedMinimumWidth()I

    move-result v3

    invoke-static {v0, v3}, Ljava/lang/Math;->max(II)I

    move-result v0

    const/high16 v3, -0x80000000

    if-ne p2, v3, :cond_9

    if-ge p1, v0, :cond_9

    move v0, v2

    goto :goto_2

    :cond_7
    iput v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->g:I

    iput v1, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->f:I

    goto :goto_3

    :cond_8
    add-int/lit8 v0, v0, 0x8

    iput v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->f:I

    goto :goto_3

    :cond_9
    move p1, v0

    move v0, v1

    goto :goto_2

    :cond_a
    move v0, v1

    goto/16 :goto_0
.end method

.method private c(Z)Ljava/lang/String;
    .locals 4

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    iget v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->h:I

    div-int/lit8 v0, v0, 0x2

    add-int/lit8 v2, v0, 0x1

    iget v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->e:I

    sub-int/2addr v0, v2

    :goto_0
    iget v3, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->e:I

    add-int/2addr v3, v2

    if-gt v0, v3, :cond_3

    if-nez p1, :cond_0

    iget v3, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->e:I

    if-eq v0, v3, :cond_1

    :cond_0
    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/view/WqWheelView;->a(I)Ljava/lang/String;

    move-result-object v3

    if-eqz v3, :cond_1

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    :cond_1
    iget v3, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->e:I

    add-int/2addr v3, v2

    if-ge v0, v3, :cond_2

    const-string/jumbo v3, "\n"

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    :cond_2
    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    :cond_3
    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method private c(I)V
    .locals 1

    invoke-direct {p0}, Lcom/waiqin365/lightapp/view/WqWheelView;->k()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->Z:Landroid/os/Handler;

    invoke-virtual {v0, p1}, Landroid/os/Handler;->sendEmptyMessage(I)Z

    return-void
.end method

.method private c(Landroid/graphics/Canvas;)V
    .locals 3

    invoke-virtual {p1}, Landroid/graphics/Canvas;->save()I

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->m:Landroid/text/StaticLayout;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Landroid/text/StaticLayout;->getLineTop(I)I

    move-result v0

    const/4 v1, 0x0

    neg-int v0, v0

    iget v2, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->r:I

    add-int/2addr v0, v2

    int-to-float v0, v0

    invoke-virtual {p1, v1, v0}, Landroid/graphics/Canvas;->translate(FF)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->j:Landroid/text/TextPaint;

    iget v1, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->D:I

    invoke-virtual {v0, v1}, Landroid/text/TextPaint;->setColor(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->j:Landroid/text/TextPaint;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/WqWheelView;->getDrawableState()[I

    move-result-object v1

    iput-object v1, v0, Landroid/text/TextPaint;->drawableState:[I

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->m:Landroid/text/StaticLayout;

    invoke-virtual {v0, p1}, Landroid/text/StaticLayout;->draw(Landroid/graphics/Canvas;)V

    invoke-virtual {p1}, Landroid/graphics/Canvas;->restore()V

    return-void
.end method

.method static synthetic c(Lcom/waiqin365/lightapp/view/WqWheelView;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/view/WqWheelView;->k()V

    return-void
.end method

.method static synthetic c(Lcom/waiqin365/lightapp/view/WqWheelView;I)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/waiqin365/lightapp/view/WqWheelView;->c(I)V

    return-void
.end method

.method private d(II)V
    .locals 9

    const/4 v8, 0x0

    const/4 v7, 0x0

    const v5, 0x3fd9999a    # 1.7f

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->m:Landroid/text/StaticLayout;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->m:Landroid/text/StaticLayout;

    invoke-virtual {v0}, Landroid/text/StaticLayout;->getWidth()I

    move-result v0

    if-le v0, p1, :cond_5

    :cond_0
    new-instance v0, Landroid/text/StaticLayout;

    iget-boolean v1, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->q:Z

    invoke-direct {p0, v1}, Lcom/waiqin365/lightapp/view/WqWheelView;->c(Z)Ljava/lang/String;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->j:Landroid/text/TextPaint;

    if-lez p2, :cond_4

    sget-object v4, Landroid/text/Layout$Alignment;->ALIGN_OPPOSITE:Landroid/text/Layout$Alignment;

    :goto_0
    iget v3, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->O:I

    int-to-float v6, v3

    move v3, p1

    invoke-direct/range {v0 .. v7}, Landroid/text/StaticLayout;-><init>(Ljava/lang/CharSequence;Landroid/text/TextPaint;ILandroid/text/Layout$Alignment;FFZ)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->m:Landroid/text/StaticLayout;

    :goto_1
    iget-boolean v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->q:Z

    if-nez v0, :cond_9

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->o:Landroid/text/StaticLayout;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->o:Landroid/text/StaticLayout;

    invoke-virtual {v0}, Landroid/text/StaticLayout;->getWidth()I

    move-result v0

    if-le v0, p1, :cond_9

    :cond_1
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/WqWheelView;->a()Lcom/waiqin365/lightapp/a/c;

    move-result-object v0

    if-eqz v0, :cond_6

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/WqWheelView;->a()Lcom/waiqin365/lightapp/a/c;

    move-result-object v0

    iget v1, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->e:I

    invoke-interface {v0, v1}, Lcom/waiqin365/lightapp/a/c;->a(I)Ljava/lang/String;

    move-result-object v0

    move-object v1, v0

    :goto_2
    new-instance v0, Landroid/text/StaticLayout;

    if-eqz v1, :cond_7

    :goto_3
    iget-object v2, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->k:Landroid/text/TextPaint;

    if-lez p2, :cond_8

    sget-object v4, Landroid/text/Layout$Alignment;->ALIGN_OPPOSITE:Landroid/text/Layout$Alignment;

    :goto_4
    iget v3, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->O:I

    int-to-float v6, v3

    move v3, p1

    invoke-direct/range {v0 .. v7}, Landroid/text/StaticLayout;-><init>(Ljava/lang/CharSequence;Landroid/text/TextPaint;ILandroid/text/Layout$Alignment;FFZ)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->o:Landroid/text/StaticLayout;

    :goto_5
    if-lez p2, :cond_3

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->n:Landroid/text/StaticLayout;

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->n:Landroid/text/StaticLayout;

    invoke-virtual {v0}, Landroid/text/StaticLayout;->getWidth()I

    move-result v0

    if-le v0, p2, :cond_b

    :cond_2
    new-instance v0, Landroid/text/StaticLayout;

    iget-object v1, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->p:Ljava/lang/String;

    iget-object v2, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->l:Landroid/text/TextPaint;

    sget-object v4, Landroid/text/Layout$Alignment;->ALIGN_NORMAL:Landroid/text/Layout$Alignment;

    iget v3, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->O:I

    int-to-float v6, v3

    move v3, p2

    invoke-direct/range {v0 .. v7}, Landroid/text/StaticLayout;-><init>(Ljava/lang/CharSequence;Landroid/text/TextPaint;ILandroid/text/Layout$Alignment;FFZ)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->n:Landroid/text/StaticLayout;

    :cond_3
    :goto_6
    return-void

    :cond_4
    sget-object v4, Landroid/text/Layout$Alignment;->ALIGN_CENTER:Landroid/text/Layout$Alignment;

    goto :goto_0

    :cond_5
    iget-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->m:Landroid/text/StaticLayout;

    invoke-virtual {v0, p1}, Landroid/text/StaticLayout;->increaseWidthTo(I)V

    goto :goto_1

    :cond_6
    move-object v1, v8

    goto :goto_2

    :cond_7
    const-string/jumbo v1, ""

    goto :goto_3

    :cond_8
    sget-object v4, Landroid/text/Layout$Alignment;->ALIGN_CENTER:Landroid/text/Layout$Alignment;

    goto :goto_4

    :cond_9
    iget-boolean v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->q:Z

    if-eqz v0, :cond_a

    iput-object v8, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->o:Landroid/text/StaticLayout;

    goto :goto_5

    :cond_a
    iget-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->o:Landroid/text/StaticLayout;

    invoke-virtual {v0, p1}, Landroid/text/StaticLayout;->increaseWidthTo(I)V

    goto :goto_5

    :cond_b
    iget-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->n:Landroid/text/StaticLayout;

    invoke-virtual {v0, p2}, Landroid/text/StaticLayout;->increaseWidthTo(I)V

    goto :goto_6
.end method

.method private d(Landroid/graphics/Canvas;)V
    .locals 6

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->S:Z

    if-eqz v0, :cond_0

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/WqWheelView;->getHeight()I

    move-result v0

    div-int/lit8 v0, v0, 0x2

    invoke-direct {p0}, Lcom/waiqin365/lightapp/view/WqWheelView;->j()I

    move-result v1

    div-int/lit8 v1, v1, 0x2

    iget-object v2, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->x:Landroid/graphics/drawable/Drawable;

    const/4 v3, 0x0

    sub-int v4, v0, v1

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/WqWheelView;->getWidth()I

    move-result v5

    add-int/2addr v0, v1

    invoke-virtual {v2, v3, v4, v5, v0}, Landroid/graphics/drawable/Drawable;->setBounds(IIII)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->x:Landroid/graphics/drawable/Drawable;

    invoke-virtual {v0, p1}, Landroid/graphics/drawable/Drawable;->draw(Landroid/graphics/Canvas;)V

    :cond_0
    return-void
.end method

.method static synthetic d(Lcom/waiqin365/lightapp/view/WqWheelView;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/view/WqWheelView;->m()V

    return-void
.end method

.method static synthetic e(Lcom/waiqin365/lightapp/view/WqWheelView;)I
    .locals 1

    iget v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->e:I

    return v0
.end method

.method private e(Landroid/graphics/Canvas;)V
    .locals 11

    const/4 v0, 0x0

    iget-boolean v1, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->T:Z

    if-eqz v1, :cond_2

    invoke-direct {p0}, Lcom/waiqin365/lightapp/view/WqWheelView;->h()I

    move-result v1

    if-lez v1, :cond_1

    iget-object v2, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->l:Landroid/text/TextPaint;

    const-string/jumbo v3, "0"

    invoke-virtual {v2, v3}, Landroid/text/TextPaint;->measureText(Ljava/lang/String;)F

    move-result v2

    float-to-int v2, v2

    int-to-float v2, v2

    invoke-direct {p0}, Lcom/waiqin365/lightapp/view/WqWheelView;->i()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/String;->length()I

    move-result v3

    if-lez v3, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->l:Landroid/text/TextPaint;

    invoke-direct {p0}, Lcom/waiqin365/lightapp/view/WqWheelView;->i()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v0, v3}, Landroid/text/TextPaint;->measureText(Ljava/lang/String;)F

    move-result v0

    float-to-int v0, v0

    :cond_0
    int-to-float v1, v1

    mul-float/2addr v1, v2

    float-to-int v1, v1

    add-int/2addr v0, v1

    :cond_1
    iget-object v1, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->b:Landroid/content/Context;

    const/high16 v2, 0x40000000    # 2.0f

    invoke-static {v1, v2}, Lcom/fiberhome/gaea/client/d/k;->a(Landroid/content/Context;F)I

    move-result v1

    add-int/2addr v0, v1

    iget-object v1, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->k:Landroid/text/TextPaint;

    invoke-virtual {v1}, Landroid/text/TextPaint;->getFontMetrics()Landroid/graphics/Paint$FontMetrics;

    move-result-object v1

    new-instance v2, Landroid/graphics/Rect;

    invoke-direct {v2}, Landroid/graphics/Rect;-><init>()V

    iget-object v3, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->m:Landroid/text/StaticLayout;

    iget v4, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->h:I

    div-int/lit8 v4, v4, 0x2

    invoke-virtual {v3, v4, v2}, Landroid/text/StaticLayout;->getLineBounds(ILandroid/graphics/Rect;)I

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/WqWheelView;->getHeight()I

    move-result v2

    div-int/lit8 v2, v2, 0x2

    int-to-double v2, v2

    iget v4, v1, Landroid/graphics/Paint$FontMetrics;->descent:F

    iget v1, v1, Landroid/graphics/Paint$FontMetrics;->top:F

    sub-float v1, v4, v1

    float-to-double v4, v1

    invoke-static {v4, v5}, Ljava/lang/Math;->ceil(D)D

    move-result-wide v4

    const-wide/high16 v6, 0x4014000000000000L    # 5.0

    div-double/2addr v4, v6

    sub-double/2addr v2, v4

    double-to-int v1, v2

    invoke-direct {p0}, Lcom/waiqin365/lightapp/view/WqWheelView;->j()I

    move-result v2

    div-int/lit8 v2, v2, 0x2

    new-instance v3, Landroid/graphics/Paint;

    invoke-direct {v3}, Landroid/graphics/Paint;-><init>()V

    const-string/jumbo v4, "#e0e0e0"

    invoke-static {v4}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v4

    invoke-virtual {v3, v4}, Landroid/graphics/Paint;->setColor(I)V

    new-instance v4, Landroid/graphics/Rect;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/WqWheelView;->getWidth()I

    move-result v5

    sub-int/2addr v5, v0

    div-int/lit8 v5, v5, 0x2

    sub-int v6, v1, v2

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/WqWheelView;->getWidth()I

    move-result v7

    add-int/2addr v7, v0

    div-int/lit8 v7, v7, 0x2

    sub-int v8, v1, v2

    iget-object v9, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->b:Landroid/content/Context;

    const v10, 0x3f4ccccd    # 0.8f

    invoke-static {v9, v10}, Lcom/fiberhome/gaea/client/d/k;->a(Landroid/content/Context;F)I

    move-result v9

    add-int/2addr v8, v9

    invoke-direct {v4, v5, v6, v7, v8}, Landroid/graphics/Rect;-><init>(IIII)V

    invoke-virtual {p1, v4, v3}, Landroid/graphics/Canvas;->drawRect(Landroid/graphics/Rect;Landroid/graphics/Paint;)V

    new-instance v3, Landroid/graphics/Paint;

    invoke-direct {v3}, Landroid/graphics/Paint;-><init>()V

    const-string/jumbo v4, "#ff9008"

    invoke-static {v4}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v4

    invoke-virtual {v3, v4}, Landroid/graphics/Paint;->setColor(I)V

    new-instance v4, Landroid/graphics/Rect;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/WqWheelView;->getWidth()I

    move-result v5

    sub-int/2addr v5, v0

    div-int/lit8 v5, v5, 0x2

    add-int v6, v1, v2

    iget-object v7, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->b:Landroid/content/Context;

    const/high16 v8, 0x3fc00000    # 1.5f

    invoke-static {v7, v8}, Lcom/fiberhome/gaea/client/d/k;->a(Landroid/content/Context;F)I

    move-result v7

    sub-int/2addr v6, v7

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/WqWheelView;->getWidth()I

    move-result v7

    add-int/2addr v0, v7

    div-int/lit8 v0, v0, 0x2

    add-int/2addr v1, v2

    invoke-direct {v4, v5, v6, v0, v1}, Landroid/graphics/Rect;-><init>(IIII)V

    invoke-virtual {p1, v4, v3}, Landroid/graphics/Canvas;->drawRect(Landroid/graphics/Rect;Landroid/graphics/Paint;)V

    :cond_2
    return-void
.end method

.method static synthetic f(Lcom/waiqin365/lightapp/view/WqWheelView;)I
    .locals 1

    invoke-direct {p0}, Lcom/waiqin365/lightapp/view/WqWheelView;->j()I

    move-result v0

    return v0
.end method

.method private f()V
    .locals 1

    const/4 v0, 0x0

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->m:Landroid/text/StaticLayout;

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->o:Landroid/text/StaticLayout;

    const/4 v0, 0x0

    iput v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->r:I

    return-void
.end method

.method static synthetic g(Lcom/waiqin365/lightapp/view/WqWheelView;)I
    .locals 1

    iget v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->r:I

    return v0
.end method

.method private g()V
    .locals 8

    const/16 v3, 0x25

    const/4 v7, 0x4

    const/4 v6, 0x1

    const/4 v1, 0x0

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->j:Landroid/text/TextPaint;

    if-nez v0, :cond_0

    new-instance v0, Landroid/text/TextPaint;

    const/16 v2, 0x21

    invoke-direct {v0, v2}, Landroid/text/TextPaint;-><init>(I)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->j:Landroid/text/TextPaint;

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->j:Landroid/text/TextPaint;

    iget v2, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->M:I

    int-to-float v2, v2

    invoke-virtual {v0, v2}, Landroid/text/TextPaint;->setTextSize(F)V

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->k:Landroid/text/TextPaint;

    if-nez v0, :cond_1

    new-instance v0, Landroid/text/TextPaint;

    invoke-direct {v0, v3}, Landroid/text/TextPaint;-><init>(I)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->k:Landroid/text/TextPaint;

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->k:Landroid/text/TextPaint;

    iget v2, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->K:I

    int-to-float v2, v2

    invoke-virtual {v0, v2}, Landroid/text/TextPaint;->setTextSize(F)V

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->l:Landroid/text/TextPaint;

    if-nez v0, :cond_2

    new-instance v0, Landroid/text/TextPaint;

    invoke-direct {v0, v3}, Landroid/text/TextPaint;-><init>(I)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->l:Landroid/text/TextPaint;

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->l:Landroid/text/TextPaint;

    iget v2, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->L:I

    int-to-float v2, v2

    invoke-virtual {v0, v2}, Landroid/text/TextPaint;->setTextSize(F)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->l:Landroid/text/TextPaint;

    const/high16 v2, 0x3f000000    # 0.5f

    const/4 v3, 0x0

    const/high16 v4, 0x3f800000    # 1.0f

    const/4 v5, -0x1

    invoke-virtual {v0, v2, v3, v4, v5}, Landroid/text/TextPaint;->setShadowLayer(FFFI)V

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->x:Landroid/graphics/drawable/Drawable;

    if-nez v0, :cond_3

    new-instance v0, Landroid/graphics/drawable/GradientDrawable;

    sget-object v2, Landroid/graphics/drawable/GradientDrawable$Orientation;->BOTTOM_TOP:Landroid/graphics/drawable/GradientDrawable$Orientation;

    iget-object v3, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->y:[I

    invoke-direct {v0, v2, v3}, Landroid/graphics/drawable/GradientDrawable;-><init>(Landroid/graphics/drawable/GradientDrawable$Orientation;[I)V

    iget v2, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->z:I

    iget v3, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->A:I

    invoke-virtual {v0, v2, v3}, Landroid/graphics/drawable/GradientDrawable;->setStroke(II)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->x:Landroid/graphics/drawable/Drawable;

    :cond_3
    iget-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->B:Landroid/graphics/drawable/GradientDrawable;

    if-nez v0, :cond_4

    new-instance v0, Landroid/graphics/drawable/GradientDrawable;

    sget-object v2, Landroid/graphics/drawable/GradientDrawable$Orientation;->TOP_BOTTOM:Landroid/graphics/drawable/GradientDrawable$Orientation;

    sget-object v3, Lcom/waiqin365/lightapp/view/WqWheelView;->c:[I

    invoke-direct {v0, v2, v3}, Landroid/graphics/drawable/GradientDrawable;-><init>(Landroid/graphics/drawable/GradientDrawable$Orientation;[I)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->B:Landroid/graphics/drawable/GradientDrawable;

    :cond_4
    iget-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->C:Landroid/graphics/drawable/GradientDrawable;

    if-nez v0, :cond_5

    new-instance v0, Landroid/graphics/drawable/GradientDrawable;

    sget-object v2, Landroid/graphics/drawable/GradientDrawable$Orientation;->BOTTOM_TOP:Landroid/graphics/drawable/GradientDrawable$Orientation;

    sget-object v3, Lcom/waiqin365/lightapp/view/WqWheelView;->c:[I

    invoke-direct {v0, v2, v3}, Landroid/graphics/drawable/GradientDrawable;-><init>(Landroid/graphics/drawable/GradientDrawable$Orientation;[I)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->C:Landroid/graphics/drawable/GradientDrawable;

    :cond_5
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/WqWheelView;->getBackground()Landroid/graphics/drawable/Drawable;

    move-result-object v0

    if-nez v0, :cond_6

    new-instance v0, Landroid/graphics/drawable/GradientDrawable;

    sget-object v2, Landroid/graphics/drawable/GradientDrawable$Orientation;->TOP_BOTTOM:Landroid/graphics/drawable/GradientDrawable$Orientation;

    iget-object v3, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->H:[I

    invoke-direct {v0, v2, v3}, Landroid/graphics/drawable/GradientDrawable;-><init>(Landroid/graphics/drawable/GradientDrawable$Orientation;[I)V

    new-instance v2, Landroid/graphics/drawable/GradientDrawable;

    sget-object v3, Landroid/graphics/drawable/GradientDrawable$Orientation;->BOTTOM_TOP:Landroid/graphics/drawable/GradientDrawable$Orientation;

    iget-object v4, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->G:[I

    invoke-direct {v2, v3, v4}, Landroid/graphics/drawable/GradientDrawable;-><init>(Landroid/graphics/drawable/GradientDrawable$Orientation;[I)V

    iget v3, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->I:I

    iget v4, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->J:I

    invoke-virtual {v0, v3, v4}, Landroid/graphics/drawable/GradientDrawable;->setStroke(II)V

    invoke-virtual {v0, v1}, Landroid/graphics/drawable/GradientDrawable;->setShape(I)V

    invoke-virtual {v2, v1}, Landroid/graphics/drawable/GradientDrawable;->setShape(I)V

    invoke-virtual {v0, v1}, Landroid/graphics/drawable/GradientDrawable;->setGradientType(I)V

    invoke-virtual {v2, v1}, Landroid/graphics/drawable/GradientDrawable;->setGradientType(I)V

    const/4 v3, 0x2

    new-array v3, v3, [Landroid/graphics/drawable/GradientDrawable;

    aput-object v0, v3, v1

    aput-object v2, v3, v6

    new-instance v0, Landroid/graphics/drawable/LayerDrawable;

    invoke-direct {v0, v3}, Landroid/graphics/drawable/LayerDrawable;-><init>([Landroid/graphics/drawable/Drawable;)V

    move v2, v1

    move v3, v1

    move v4, v1

    move v5, v1

    invoke-virtual/range {v0 .. v5}, Landroid/graphics/drawable/LayerDrawable;->setLayerInset(IIIII)V

    move v1, v6

    move v2, v7

    move v3, v6

    move v4, v7

    move v5, v6

    invoke-virtual/range {v0 .. v5}, Landroid/graphics/drawable/LayerDrawable;->setLayerInset(IIIII)V

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/view/WqWheelView;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    :cond_6
    return-void
.end method

.method private h()I
    .locals 2

    const/4 v0, 0x0

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/WqWheelView;->a()Lcom/waiqin365/lightapp/a/c;

    move-result-object v1

    if-nez v1, :cond_1

    :cond_0
    :goto_0
    return v0

    :cond_1
    invoke-interface {v1}, Lcom/waiqin365/lightapp/a/c;->b()I

    move-result v1

    if-lez v1, :cond_0

    move v0, v1

    goto :goto_0
.end method

.method static synthetic h(Lcom/waiqin365/lightapp/view/WqWheelView;)Lcom/waiqin365/lightapp/a/c;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->d:Lcom/waiqin365/lightapp/a/c;

    return-object v0
.end method

.method static synthetic i(Lcom/waiqin365/lightapp/view/WqWheelView;)I
    .locals 1

    iget v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->u:I

    return v0
.end method

.method private i()Ljava/lang/String;
    .locals 2

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/WqWheelView;->a()Lcom/waiqin365/lightapp/a/c;

    move-result-object v0

    if-nez v0, :cond_0

    const-string/jumbo v0, ""

    :goto_0
    return-object v0

    :cond_0
    invoke-interface {v0}, Lcom/waiqin365/lightapp/a/c;->c()Ljava/lang/String;

    move-result-object v1

    if-nez v1, :cond_1

    const-string/jumbo v0, ""

    goto :goto_0

    :cond_1
    invoke-interface {v0}, Lcom/waiqin365/lightapp/a/c;->c()Ljava/lang/String;

    move-result-object v0

    goto :goto_0
.end method

.method private j()I
    .locals 3

    const/4 v1, 0x2

    iget v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->i:I

    if-eqz v0, :cond_0

    iget v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->i:I

    :goto_0
    return v0

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->m:Landroid/text/StaticLayout;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->m:Landroid/text/StaticLayout;

    invoke-virtual {v0}, Landroid/text/StaticLayout;->getLineCount()I

    move-result v0

    if-le v0, v1, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->m:Landroid/text/StaticLayout;

    invoke-virtual {v0, v1}, Landroid/text/StaticLayout;->getLineTop(I)I

    move-result v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->m:Landroid/text/StaticLayout;

    const/4 v2, 0x1

    invoke-virtual {v1, v2}, Landroid/text/StaticLayout;->getLineTop(I)I

    move-result v1

    sub-int/2addr v0, v1

    iput v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->i:I

    iget v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->i:I

    goto :goto_0

    :cond_1
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/WqWheelView;->getHeight()I

    move-result v0

    iget v1, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->h:I

    div-int/2addr v0, v1

    goto :goto_0
.end method

.method static synthetic j(Lcom/waiqin365/lightapp/view/WqWheelView;)Landroid/os/Handler;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->Z:Landroid/os/Handler;

    return-object v0
.end method

.method private k()V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->Z:Landroid/os/Handler;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/os/Handler;->removeMessages(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->Z:Landroid/os/Handler;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Landroid/os/Handler;->removeMessages(I)V

    return-void
.end method

.method static synthetic k(Lcom/waiqin365/lightapp/view/WqWheelView;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/view/WqWheelView;->l()V

    return-void
.end method

.method private l()V
    .locals 7

    const/4 v6, 0x1

    const/4 v1, 0x0

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->d:Lcom/waiqin365/lightapp/a/c;

    if-nez v0, :cond_0

    :goto_0
    return-void

    :cond_0
    iput v1, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->u:I

    iget v4, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->r:I

    invoke-direct {p0}, Lcom/waiqin365/lightapp/view/WqWheelView;->j()I

    move-result v2

    if-lez v4, :cond_4

    iget v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->e:I

    iget-object v3, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->d:Lcom/waiqin365/lightapp/a/c;

    invoke-interface {v3}, Lcom/waiqin365/lightapp/a/c;->a()I

    move-result v3

    if-ge v0, v3, :cond_3

    move v0, v6

    :goto_1
    iget-boolean v3, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->a:Z

    if-nez v3, :cond_1

    if-eqz v0, :cond_2

    :cond_1
    int-to-float v0, v4

    invoke-static {v0}, Ljava/lang/Math;->abs(F)F

    move-result v0

    int-to-float v3, v2

    const/high16 v5, 0x40000000    # 2.0f

    div-float/2addr v3, v5

    cmpl-float v0, v0, v3

    if-lez v0, :cond_2

    if-gez v4, :cond_6

    add-int/lit8 v0, v2, 0x1

    add-int/2addr v4, v0

    :cond_2
    :goto_2
    invoke-static {v4}, Ljava/lang/Math;->abs(I)I

    move-result v0

    if-le v0, v6, :cond_7

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->t:Landroid/widget/Scroller;

    const/16 v5, 0x190

    move v2, v1

    move v3, v1

    invoke-virtual/range {v0 .. v5}, Landroid/widget/Scroller;->startScroll(IIIII)V

    invoke-direct {p0, v6}, Lcom/waiqin365/lightapp/view/WqWheelView;->c(I)V

    goto :goto_0

    :cond_3
    move v0, v1

    goto :goto_1

    :cond_4
    iget v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->e:I

    if-lez v0, :cond_5

    move v0, v6

    goto :goto_1

    :cond_5
    move v0, v1

    goto :goto_1

    :cond_6
    add-int/lit8 v0, v2, 0x1

    sub-int/2addr v4, v0

    goto :goto_2

    :cond_7
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/WqWheelView;->e()V

    goto :goto_0
.end method

.method private m()V
    .locals 1

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->q:Z

    if-nez v0, :cond_0

    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->q:Z

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/WqWheelView;->b()V

    :cond_0
    return-void
.end method


# virtual methods
.method public a()Lcom/waiqin365/lightapp/a/c;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->d:Lcom/waiqin365/lightapp/a/c;

    return-object v0
.end method

.method protected a(II)V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->v:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :goto_0
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/hp;

    invoke-interface {v0, p0, p1, p2}, Lcom/waiqin365/lightapp/view/hp;->a(Lcom/waiqin365/lightapp/view/WqWheelView;II)V

    goto :goto_0

    :cond_0
    return-void
.end method

.method public a(Lcom/waiqin365/lightapp/view/hp;)V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->v:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    return-void
.end method

.method public a(Z)V
    .locals 0

    iput-boolean p1, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->R:Z

    return-void
.end method

.method protected b()V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->w:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :goto_0
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/hq;

    invoke-interface {v0, p0}, Lcom/waiqin365/lightapp/view/hq;->a(Lcom/waiqin365/lightapp/view/WqWheelView;)V

    goto :goto_0

    :cond_0
    return-void
.end method

.method public b(II)V
    .locals 6

    const/4 v1, 0x0

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->t:Landroid/widget/Scroller;

    const/4 v2, 0x1

    invoke-virtual {v0, v2}, Landroid/widget/Scroller;->forceFinished(Z)V

    iget v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->r:I

    iput v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->u:I

    invoke-direct {p0}, Lcom/waiqin365/lightapp/view/WqWheelView;->j()I

    move-result v0

    mul-int v3, p1, v0

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->t:Landroid/widget/Scroller;

    iget v2, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->u:I

    iget v4, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->u:I

    sub-int v4, v3, v4

    move v3, v1

    move v5, p2

    invoke-virtual/range {v0 .. v5}, Landroid/widget/Scroller;->startScroll(IIIII)V

    invoke-direct {p0, v1}, Lcom/waiqin365/lightapp/view/WqWheelView;->c(I)V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/view/WqWheelView;->m()V

    return-void
.end method

.method public b(Z)V
    .locals 0

    iput-boolean p1, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->S:Z

    return-void
.end method

.method protected c()V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->w:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :goto_0
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/hq;

    invoke-interface {v0, p0}, Lcom/waiqin365/lightapp/view/hq;->b(Lcom/waiqin365/lightapp/view/WqWheelView;)V

    goto :goto_0

    :cond_0
    return-void
.end method

.method public d()I
    .locals 1

    iget v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->e:I

    return v0
.end method

.method e()V
    .locals 1

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->q:Z

    if-eqz v0, :cond_0

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/WqWheelView;->c()V

    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->q:Z

    :cond_0
    invoke-direct {p0}, Lcom/waiqin365/lightapp/view/WqWheelView;->f()V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/WqWheelView;->invalidate()V

    return-void
.end method

.method protected onDraw(Landroid/graphics/Canvas;)V
    .locals 2

    invoke-super {p0, p1}, Landroid/view/View;->onDraw(Landroid/graphics/Canvas;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->m:Landroid/text/StaticLayout;

    if-nez v0, :cond_0

    iget v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->f:I

    if-nez v0, :cond_2

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/WqWheelView;->getWidth()I

    move-result v0

    const/high16 v1, 0x40000000    # 2.0f

    invoke-direct {p0, v0, v1}, Lcom/waiqin365/lightapp/view/WqWheelView;->c(II)I

    :cond_0
    :goto_0
    iget v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->f:I

    if-lez v0, :cond_1

    invoke-virtual {p1}, Landroid/graphics/Canvas;->save()I

    const/high16 v0, 0x40a00000    # 5.0f

    iget v1, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->N:I

    neg-int v1, v1

    int-to-float v1, v1

    invoke-virtual {p1, v0, v1}, Landroid/graphics/Canvas;->translate(FF)V

    invoke-direct {p0, p1}, Lcom/waiqin365/lightapp/view/WqWheelView;->c(Landroid/graphics/Canvas;)V

    invoke-direct {p0, p1}, Lcom/waiqin365/lightapp/view/WqWheelView;->b(Landroid/graphics/Canvas;)V

    invoke-virtual {p1}, Landroid/graphics/Canvas;->restore()V

    :cond_1
    invoke-direct {p0, p1}, Lcom/waiqin365/lightapp/view/WqWheelView;->d(Landroid/graphics/Canvas;)V

    invoke-direct {p0, p1}, Lcom/waiqin365/lightapp/view/WqWheelView;->e(Landroid/graphics/Canvas;)V

    invoke-direct {p0, p1}, Lcom/waiqin365/lightapp/view/WqWheelView;->a(Landroid/graphics/Canvas;)V

    return-void

    :cond_2
    iget v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->f:I

    iget v1, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->g:I

    invoke-direct {p0, v0, v1}, Lcom/waiqin365/lightapp/view/WqWheelView;->d(II)V

    goto :goto_0
.end method

.method protected onMeasure(II)V
    .locals 5

    invoke-static {p1}, Landroid/view/View$MeasureSpec;->getMode(I)I

    move-result v1

    invoke-static {p2}, Landroid/view/View$MeasureSpec;->getMode(I)I

    move-result v2

    invoke-static {p1}, Landroid/view/View$MeasureSpec;->getSize(I)I

    move-result v3

    invoke-static {p2}, Landroid/view/View$MeasureSpec;->getSize(I)I

    move-result v0

    invoke-direct {p0, v3, v1}, Lcom/waiqin365/lightapp/view/WqWheelView;->c(II)I

    move-result v3

    const/high16 v1, 0x40000000    # 2.0f

    if-ne v2, v1, :cond_0

    :goto_0
    invoke-virtual {p0, v3, v0}, Lcom/waiqin365/lightapp/view/WqWheelView;->setMeasuredDimension(II)V

    return-void

    :cond_0
    iget-object v1, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->m:Landroid/text/StaticLayout;

    invoke-direct {p0, v1}, Lcom/waiqin365/lightapp/view/WqWheelView;->a(Landroid/text/Layout;)I

    move-result v1

    const/high16 v4, -0x80000000

    if-ne v2, v4, :cond_1

    invoke-static {v1, v0}, Ljava/lang/Math;->min(II)I

    move-result v0

    goto :goto_0

    :cond_1
    move v0, v1

    goto :goto_0
.end method

.method public onTouchEvent(Landroid/view/MotionEvent;)Z
    .locals 2

    const/4 v1, 0x1

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/WqWheelView;->a()Lcom/waiqin365/lightapp/a/c;

    move-result-object v0

    if-nez v0, :cond_1

    :cond_0
    :goto_0
    return v1

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->s:Landroid/view/GestureDetector;

    invoke-virtual {v0, p1}, Landroid/view/GestureDetector;->onTouchEvent(Landroid/view/MotionEvent;)Z

    move-result v0

    if-nez v0, :cond_0

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getAction()I

    move-result v0

    if-ne v0, v1, :cond_0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/view/WqWheelView;->l()V

    goto :goto_0
.end method

.method public setAdapter(Lcom/waiqin365/lightapp/a/c;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->d:Lcom/waiqin365/lightapp/a/c;

    invoke-direct {p0}, Lcom/waiqin365/lightapp/view/WqWheelView;->f()V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/WqWheelView;->invalidate()V

    return-void
.end method

.method public setAdditionalItemHeight(I)V
    .locals 2

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/WqWheelView;->getContext()Landroid/content/Context;

    move-result-object v0

    int-to-float v1, p1

    invoke-static {v0, v1}, Lcom/waiqin365/lightapp/view/WqWheelView;->a(Landroid/content/Context;F)I

    move-result v0

    iput v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->O:I

    return-void
.end method

.method public setCenterSelectDrawable(Landroid/graphics/drawable/Drawable;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->x:Landroid/graphics/drawable/Drawable;

    return-void
.end method

.method public setCenterSelectGradientColors([I)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->y:[I

    return-void
.end method

.method public setCenterSelectStrokeColor(I)V
    .locals 0

    iput p1, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->A:I

    return-void
.end method

.method public setCenterSelectStrokeWidth(I)V
    .locals 0

    iput p1, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->z:I

    return-void
.end method

.method public setCurrentItem(I)V
    .locals 1

    const/4 v0, 0x0

    invoke-virtual {p0, p1, v0}, Lcom/waiqin365/lightapp/view/WqWheelView;->setCurrentItem(IZ)V

    return-void
.end method

.method public setCurrentItem(IZ)V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->d:Lcom/waiqin365/lightapp/a/c;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->d:Lcom/waiqin365/lightapp/a/c;

    invoke-interface {v0}, Lcom/waiqin365/lightapp/a/c;->a()I

    move-result v0

    if-nez v0, :cond_1

    :cond_0
    :goto_0
    return-void

    :cond_1
    if-ltz p1, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->d:Lcom/waiqin365/lightapp/a/c;

    invoke-interface {v0}, Lcom/waiqin365/lightapp/a/c;->a()I

    move-result v0

    if-lt p1, v0, :cond_4

    :cond_2
    iget-boolean v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->a:Z

    if-eqz v0, :cond_0

    :goto_1
    if-gez p1, :cond_3

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->d:Lcom/waiqin365/lightapp/a/c;

    invoke-interface {v0}, Lcom/waiqin365/lightapp/a/c;->a()I

    move-result v0

    add-int/2addr p1, v0

    goto :goto_1

    :cond_3
    iget-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->d:Lcom/waiqin365/lightapp/a/c;

    invoke-interface {v0}, Lcom/waiqin365/lightapp/a/c;->a()I

    move-result v0

    rem-int/2addr p1, v0

    :cond_4
    iget v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->e:I

    if-eq p1, v0, :cond_0

    if-eqz p2, :cond_5

    iget v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->e:I

    sub-int v0, p1, v0

    const/16 v1, 0x190

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/lightapp/view/WqWheelView;->b(II)V

    goto :goto_0

    :cond_5
    invoke-direct {p0}, Lcom/waiqin365/lightapp/view/WqWheelView;->f()V

    iget v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->e:I

    iput p1, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->e:I

    iget v1, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->e:I

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/lightapp/view/WqWheelView;->a(II)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/WqWheelView;->invalidate()V

    goto :goto_0
.end method

.method public setCyclic(Z)V
    .locals 0

    iput-boolean p1, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->a:Z

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/WqWheelView;->invalidate()V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/view/WqWheelView;->f()V

    return-void
.end method

.method public setInterpolator(Landroid/view/animation/Interpolator;)V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->t:Landroid/widget/Scroller;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Landroid/widget/Scroller;->forceFinished(Z)V

    new-instance v0, Landroid/widget/Scroller;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/WqWheelView;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-direct {v0, v1, p1}, Landroid/widget/Scroller;-><init>(Landroid/content/Context;Landroid/view/animation/Interpolator;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->t:Landroid/widget/Scroller;

    return-void
.end method

.method public setItemTextColor(I)V
    .locals 0

    iput p1, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->D:I

    return-void
.end method

.method public setItemTextSize(I)V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->b:Landroid/content/Context;

    int-to-float v1, p1

    invoke-static {v0, v1}, Lcom/waiqin365/lightapp/view/WqWheelView;->a(Landroid/content/Context;F)I

    move-result v0

    iput v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->M:I

    return-void
.end method

.method public setLabel(Ljava/lang/String;)V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->p:Ljava/lang/String;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->p:Ljava/lang/String;

    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_1

    :cond_0
    iput-object p1, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->p:Ljava/lang/String;

    const/4 v0, 0x0

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->n:Landroid/text/StaticLayout;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/WqWheelView;->invalidate()V

    :cond_1
    return-void
.end method

.method public setLabelTextColor(I)V
    .locals 0

    iput p1, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->F:I

    return-void
.end method

.method public setLabelTextSize(I)V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->b:Landroid/content/Context;

    int-to-float v1, p1

    invoke-static {v0, v1}, Lcom/waiqin365/lightapp/view/WqWheelView;->a(Landroid/content/Context;F)I

    move-result v0

    iput v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->L:I

    return-void
.end method

.method public setValueTextColor(I)V
    .locals 0

    iput p1, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->E:I

    return-void
.end method

.method public setValueTextSize(I)V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->b:Landroid/content/Context;

    int-to-float v1, p1

    invoke-static {v0, v1}, Lcom/waiqin365/lightapp/view/WqWheelView;->a(Landroid/content/Context;F)I

    move-result v0

    iput v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->K:I

    iget v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->K:I

    div-int/lit8 v0, v0, 0x5

    iput v0, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->N:I

    return-void
.end method

.method public setVisibleItems(I)V
    .locals 0

    iput p1, p0, Lcom/waiqin365/lightapp/view/WqWheelView;->h:I

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/WqWheelView;->invalidate()V

    return-void
.end method
